package com.dy.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author: ding-yu
 * @Date: 2022/5/20 14:28
 * @Desctiption: (描述)
 */
@TableName("persistent_token")
@Data
@Accessors(chain = true)
public class PersistentToken {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String userName;
    private String series;
    private String tokenValue;
    private Date userLast;
}
